package com.gateon.hw.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

/**
 * 区域表实体bean
 * Created by leslie on 2020-3-17 11:26:25
 */
@Data
public class Area {
    /**
     *
     */


    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 企业ID
     */


    private Long companyId;

    /**
     * 门店id
     */


    private Long storeId;

    /**
     * 区域名字
     */


    private String name;

    /**
     * 父节点id
     */


    private Long parentId;


    private List<Area> children;

}
